package com.dlu.safe_construction.mapper;

import com.dlu.safe_construction.model.Area;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * Created by  lijiaxing on 2022/3/31 13:23
 *
 * @author lijiaxing
 */
public interface AreaMapper {
    int deleteByPrimaryKey(String areaId);

    int insert(Area record);

    int insertSelective(Area record);

    Area selectByPrimaryKey(String areaId);

    int updateByPrimaryKeySelective(Area record);

    int updateByPrimaryKey(Area record);

    int updateBatch(List<Area> list);

    int updateBatchSelective(List<Area> list);

    int batchInsert(@Param("list") List<Area> list);

    List<Area> selectAll();
}